package com.design.单例模式;

public class Singleton5 {

	private static class SingletonHolder{
		private static Singleton5 instance = new Singleton5();
	}

	private Singleton5() {}
	
	
	public static Singleton5 getInstance() {
		return SingletonHolder.instance;
	}
}
